package cmo.neutech.day08;

import static java.lang.Math.pow;

public class Circle {
    double radius;

    public Circle(double radius){
        this.radius = radius;
    }

    public double findArea(){
        return pow(radius,2)*3.14;
    }

    public static void main(String[] args) {
        Circle c = new Circle(5);
        System.out.println("半径为"+c.radius+"的面积"+c.findArea());
    }
}
